<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: mym
  Date: 2020/12/9
  Time: 15:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<table width="800px">
    <tr>
        <td></td>
        <td>缩略图</td>
        <td>名称</td>
        <td>价格</td>
        <td>人数</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${list}" var="item">
    <tr>
        <td></td>
        <td><img src="${item.img}"></td>
        <td>${item.name} - ${item.descrip}</td>
        <td>${item.price}</td>
        <td>${item.personNum}</td>
        <td>
            <a href="">编辑</a>
            <a href="">删除</a>
        </td>
    </tr>
    </c:forEach>
</table>




</body>
</html>
